#include "trap.h"
#include "inst_test.h"
    .set noat
    .globl main 
    .text

main:
    addi $at, $zero, 0x0000 # $at = 0
    bgezal $at, TARGET    # when $1 >= 0,to TARGET
    addi  $a0, $zero, 0x9 # $4 =9
    HIT_GOOD_TRAP   

TARGET:
    addi $v1, $zero, 0x8
    HIT_GOOD_TRAP   